﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DapperExtensions.Mapper;
using ZLWeb.WebApiEntityBase;

namespace ZLWeb.WebApiEntity.WechatCardModel
{
    public class Wxmplist : ResponseResultInfo
    {
        /// <summary>
        ///  微信openid+"|"+ 服务号id
        /// </summary>
        public string uopenappid { get; set; }

        /// <summary>
        ///  微信会员卡code
        /// </summary>
        public string ucode { get; set; }

        /// <summary>
        ///  微信会员卡cardid
        /// </summary>
        public string ucardid { get; set; }

        /// <summary>
        ///  生成时间
        /// </summary>
        public DateTime? uoprtime { get; set; }
    }

    public class WxmplistMapper : ClassMapper<Wxmplist>
    {
        public WxmplistMapper()
        {
            Table("#wxmplist");
            Map(f => f.uopenappid).Column("uopenappid");
            Map(f => f.ucode).Column("ucode");
            Map(f => f.ucardid).Column("ucardid");
            Map(f => f.uoprtime).Column("uoprtime");

        }
    }
}
